﻿<Window x:Class="MediaCatalog.SplashWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SplashWindow" Width="300" Height="70"
        WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" AllowsTransparency="True"
        Background="Transparent"
        >
    <Border Background="AntiqueWhite" CornerRadius="6" BorderBrush="Bisque" BorderThickness="4">
        <Grid Margin="8">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <TextBlock Text="Initializing modules. Please wait" Grid.Row="0"/>
            <ProgressBar x:Name="ProgressBar" Height="24" Minimum="0" Maximum="100" Grid.Row="1"
                         Value="{Binding CurrentPosition}"
                         />
        </Grid>
    </Border>
</Window>
